import fetch from './fetch';

export default {
  // 新建学员
  create(params) {
    return fetch.post('/student/create', params);
  },

// 登录
  login(params) {
    return fetch.post('/student/login', params);
  },

  info() {
    return fetch.get('/student/info');
  },

  // 列表
  list(params) {
    return fetch.get('/student/list', params);
  },
}
